package models.messages;

public class ActionPerform {

	final String[] possibleActions;
	final int timeout;
	final int currentBet;
	
	public ActionPerform(String[] possibleActions, int timeout, int currentBet){
		this.possibleActions = possibleActions;
		this.timeout = timeout;
		this.currentBet = currentBet;
	}
	
	public String messageDoAction(){
		
		String result = "[Action] Your turn. Possible actions:";
		
		for(int i = 0; i < possibleActions.length; i++){
			result += " " + this.possibleActions[i];
		}
		
		result += ". Minimal bet: " + this.currentBet + ".Timeout: " + this.timeout + ".";
		result += "Command pattern: '[action] [bet]' or '[action]'(without []).";
				
		return result;
	}
}
